package org.xxpay.apibase.service;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IDCNotifyService {


    /*
     * 功能描述: 上游异步通知处理函数
     *
     * @param request
     * @param response
     * @Return: void
     * @Author: xxpay
     * @Date: 2020/9/18 21:55
     */
    void doNotify(HttpServletRequest request, HttpServletResponse response) throws Exception;

    /*
     * 功能描述: 上游通知处理函数 (同步处理)
     *
     * @param request
     * @param response
     * @Return: 是否跳转到默认支付成功页： 当无同步地址时 跳转到该页面
     * @Author: xxpay
     * @Date: 2020/10/24 14:20
     */
    boolean doReturn(HttpServletRequest request, HttpServletResponse response) throws Exception;


}
